import React from "react";
import B from "./B";

export default function A() {
  //
  let msg = "多巴胺不等于爱情，爱情却一定有多巴胺";
  return (
    <div>
      <div>A</div>
      <hr />
      <B msg={msg} style={{ color: "rgb(10, 10, 180)" }} onClick={() => {
        alert('你点击了我');
      }} />
    </div>
  );
}
